{# The keyspace map, re-sent over SSE when it changes. ``selected`` belongs to the Alpine scope outside, so a picked family stays picked. #} {% set k = keyspace %}

Keyspace

{{ "{:,}".format(k.total) }} {{ "key" if k.total == 1 else "keys" }}{% if k.cells and k.total > k.cells|length %} · 1 cell ≈ {{ "{:,}".format((k.total / k.cells|length)|round|int) }} keys{% endif %}{% if k.estimated %} · counts estimated from a sample{% endif %}
{% if k.error %}

Redis could not be read: {{ k.error }}

{% else %} {% if not k.total %}

Nothing stored yet. Cells light up as the app writes keys.

{% endif %}
{% for f in k.families %} {% endfor %} {% if k.unclaimed and k.unclaimed.count %} {% endif %}
{% endif %}